Fix a corner-case for emoji input
authorMatthias Clasen <mclasen@redhat.com>
Mon, 11 Sep 2017 15:17:41 +0000 (11:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 11 Sep 2017 15:20:07 +0000 (11:20 -0400)
commit86f018c6a7a4187ed810163cfce290368b755ee3
tree6724c73f6ad25579835747de7c68a5eabe518cd8
parent781821bae4b13612a4df8df80e8b506fcc7a34fc
Fix a corner-case for emoji input

As reported in https://github.com/ibus/ibus/issues/1944,
typing u201e while holding Ctrl+Shift used to give a „
when letting go of Ctrl+Shift. This broke when we introduced
Ctrl+Shift+e to start Emoji sequences. Fix this by only
looking for Ctrl+Shift+e if we are not already in a hex
sequence.
gtk/gtkimcontextsimple.c